#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#import <Foundation/NSBundle.h>
#import <UIKit/UIWindow.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UITextView.h>
#import <UIKit/UITableView.h>
#import <UIKit/UINavigationBar.h>
#import <UIKit/UIView.h>
#import <Foundation/NSFileManager.h>
#import <UIKit/UIAlert.h>
#import <Foundation/NSString.h>
#import <UIKit/UIProgressHUD.h>
#import <Foundation/NSTask.h>
#import <Foundation/NSURL.h>
#import <UIKit/UITextInputTraits.h>
#import <UIKit/UIDevice.h>

static NSString * defaultMapTiles = @"/var/mobile/Library/Caches/MapTiles/MapTiles.sqlitedb";
static NSString * defaultMapPoint = @"/var/mobile/Library/Preferences/com.apple.Maps.plist";
static NSString * defaultRoute_2_1 = @"/var/mobile/Library/Maps/Routes.plist"; // for 2.1
static NSString * defaultRoute_2_2 = @"/var/mobile/Library/Maps/Directions.plist"; // for 2.2
static NSString * defaultBookmark = @"/var/mobile/Library/Maps/Bookmarks.plist";

@class UITextField, UILabel;
@interface UIAlertView (Extended)
	- (UITextField*)addTextFieldWithValue:(NSString*)value label:(NSString*)label;
	- (UITextField*)textFieldAtIndex:(NSUInteger)index;
	- (NSUInteger)textFieldCount;
	- (UITextField*)textField;
@end

@interface HelloWorldApp : UIApplication <
	UITableViewDataSource,
	UITableViewDelegate >
{
	    UIView            *mainView;
	    UIWindow          *window;
	    UITableView       *table;
	    UINavigationBar   *navbar;
	    NSMutableArray    *list;
	    NSFileManager     *manager;
	    UIAlertView       *alert,
	 					  *importAlert,
	 					  *confirmAlert,
	 					  *informationAlert,
	 					  *launchAlert;
	    NSString          *deviceInfo;
		NSString          *defaultRoute;
}

@end
